extends ../layout
block content
   h1 #{title}
   form.form.form-horizontal(method='post',action='/photos/upload',enctype='multipart/form-data')
      div.form-group
         label name:
         input.form-control(
         name='photo'
         type='text'
         placeholder='图片名字'
         )
      div
         label url:
         input.form-control(
         name='file'
         type='file'
         placeholder='图片地址'
         )
      input.btn-default(value='Upload',type='submit')